<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<channel rdf:about="http://www.alfresco.com/">
   <title>${savedSearch.properties["vgr:listName"]!""}</title>
   <link>${url.serviceContext}/vgr/resultlist?name=${savedSearch.properties["vgr:listName"]!""}</link>
   <description>${savedSearch.properties["vgr:listDescription"]!""}</description>
   <generator>Alfresco</generator>
   
   	<#if showDescSort=true >
		<#assign nodes = nodes?sort_by(['properties', showSortBy])?reverse>
    <#else>
    	<#assign nodes = nodes?sort_by(['properties', showSortBy])>
    </#if>
    
    <#list nodes as child>
    	<item>
			<title>${child.properties["vgr:docTitle"]!""}</title>
			<link>http://140.166.83.78:8080${url.serviceContext}/vgr/profile/${child.properties["sys:node-dbid"]?c}</link>
			<description>${child.properties["vgr:docDescription"]!""}</description>
			<guid isPermalink="false">${child.id}</guid>
			<author>${child.properties["vgr:createdByAuthor"]!""}</author>
			<pubDate>${xmldate(child.properties["vgr:publishedAt"])}</pubDate>
		</item>
    </#list>
</channel>
</rss>